package com.lizhenhua.orderclose.feiclient;

import com.lizhenhua.fmmall.beans.Orders;
import com.lizhenhua.orderclose.follback.UpdateOrderStatusFollBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "order-status-update",fallback =UpdateOrderStatusFollBack.class)
public interface UpdateOrderStatusFeignClient {
    @PutMapping("/order/status/update")
    public int update(@RequestBody Orders orders);
}
